package com.zb.entity;

import com.zb.annotation.NumberPattern;
import com.zb.utils.VerificUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author WEN
 * @Date 2023/10/13 0013
 **/
@Data
@ApiModel("字段查询对象")
public class FieldSelectVo extends SelectVo{

    @NumberPattern(regexp = VerificUtil.FIELD_TYPE, message = "字段类型参数不合法")
    @ApiModelProperty(value = "字段类型：1-文本，2-多行文本，3-单选，4-多选，5-多图，6-附件，7-视频，8-评分", required = true)
    private Integer type;

}
